<template>
  <el-card shadow="never">
    <el-table :data="tableData" border style="width: 100%">
      <el-table-column prop="columnA" label="主责部门"> </el-table-column>
      <el-table-column prop="columnB" label="审计周期"> </el-table-column>
      <el-table-column prop="columnC" label="审计问题数量"> </el-table-column>
      <el-table-column prop="columnD" label="问题整改数量"> </el-table-column>
    </el-table>
    <div class="pagination">
      <Pagination />
    </div>
  </el-card>
</template>

<script>
import Pagination from './Pagination'
export default {
  components: {
    Pagination
  },

  data() {
    return {
      tableData: [
        {
          columnA: '移动公司苏州分公司',
          columnB: '2019',
          columnC: '56',
          columnD: '55'
        },
        {
          columnA: '移动公司沈阳分公司',
          columnB: '2019',
          columnC: '45',
          columnD: '44'
        },
        {
          columnA: '移动公司长春分公司',
          columnB: '2019',
          columnC: '38',
          columnD: '37'
        },
        {
          columnA: '移动公司广州分公司',
          columnB: '2019',
          columnC: '32',
          columnD: '31'
        },
        {
          columnA: '移动公司南宁分公司',
          columnB: '2019',
          columnC: '30',
          columnD: '29'
        }
      ]
    }
  }
}
</script>

<style lang="scss" scoped>
.pagination {
  float: right;
  margin: 10px;
}
</style>
